package ace.module.oauth2.server.api.enums;

import ace.cmp.core.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * oauth2客户端支持的认证与授权协议配置,支持本地bean与rest方式 feign请求拦截器.
 *
 * @author Caspar
 */
@AllArgsConstructor
@Getter
public enum Oauth2RegisteredClientAuthConfigFeignRequestInterceptorStatusEnum implements BaseEnum<Integer> {
  UNKNOWN(1, "未知"),
  NONE(2, "none"),
  INTERNAL_SERVER(3, "内部服务"),
  ;
  private final Integer code;
  private final String desc;
}